package com.bridge.bridge_wd.bean;

import me.yokeyword.indexablerv.IndexableEntity;

/**
 * @ClassName CityEntity
 * @Description TODO消息
 * @Author xushufeng
 * @CreateDate 2021/4/15 0015 21:44
 * @Version 1.0
 * @UpdateDate 2021/4/15 0015 21:44
 * @UpdateRemark 更新说明
 */
public class CityEntity implements IndexableEntity {
    public  int id;
    public String name;
    private String pinyin;
    private boolean isChecked=false;

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }


    public CityEntity() {
    }

    public CityEntity(String name) {
        this.name = name;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    @Override
    public String getFieldIndexBy() {
        return name;
    }

    @Override
    public void setFieldIndexBy(String indexByField) {
        this.name = indexByField;
    }

    @Override
    public void setFieldPinyinIndexBy(String pinyin) {
        this.pinyin = pinyin;
    }
}
